package com.jumi.microservice.constant.refundgoods;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author new
 * @date 2020/9/15
 */
public enum CancelUserFlagEnum implements AbstractEnum {
    //取消操作用户类型: 1-前端用户 2-后端管理员
    USER_FLAG_CUSTOMER(1, "前端用户"),
    USER_FLAG_ADMIN(2, "后端管理员");

    private Integer code;
    private String desc;

    CancelUserFlagEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}